package com.kingdee.eas.custom.safety.basedata;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class SeasonTreeCollection extends AbstractObjectCollection 
{
    public SeasonTreeCollection()
    {
        super(SeasonTreeInfo.class);
    }
    public boolean add(SeasonTreeInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(SeasonTreeCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(SeasonTreeInfo item)
    {
        return removeObject(item);
    }
    public SeasonTreeInfo get(int index)
    {
        return(SeasonTreeInfo)getObject(index);
    }
    public SeasonTreeInfo get(Object key)
    {
        return(SeasonTreeInfo)getObject(key);
    }
    public void set(int index, SeasonTreeInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(SeasonTreeInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(SeasonTreeInfo item)
    {
        return super.indexOf(item);
    }
}